package com.gooluke.shorten.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@ApiModel(description = "短链续期请求参数")
@Data
public class RenewRequest {

    @NotNull(message = "续期天数不能为空")
    @Min(value = 1, message = "最少续期1天")
    @Max(value = 365, message = "最多续期365天")
    @ApiModelProperty(value = "续期天数", required = true, example = "30")
    private Integer days;

}